package com.cltech.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Getter
@Setter
public class TreeNode {
	private String key;
	private String pid;
	private String title;
	private String link;
	private String type;
	private String icon;
	private String code;
	private Boolean isLeaf;
	private Boolean selected;
	private Integer level;
	@JsonIgnore
	private String rootId;
	@JsonIgnore
	private TreeNode parent;
	private List<TreeNode> children;
}
